{% extends _layout %}

{% block content %}
  <script type="text/javascript">
    var root = "{{ patch_root_admin }}";
  </script>
  <div class="well" id="login">
    <div class="divInpUsername">
      <p>
        <span>Họ tên:</span><br/>
        <input onkeypress="return EnterLogin(event)" class="inpLogin form-control" type="text" id="loginUser" required
               autofocus/>
      </p>

      <p class="erorr_username"></p>
    </div>

    <div class="divInpPass">
      <p>
        <span>Mật khẩu:</span><br/>
        <input onkeypress="return EnterLogin(event)" class="inpLogin form-control" type="password" id="loginPass"
               required/>
      </p>

      <p class="erorr_password"></p>
    </div>
    <div>
      <p>
        <label class="checkbox">
          <input type="checkbox" value="remember-me"> Nhớ mật khẩu
        </label></p></div>
    <div onclick="return login();" class="btLogin btn btn-sm btn-primary">Đăng nhập</div>
    <div class="" id="divError"></div>
  </div>
{% endblock %}